# ifndef __BackupAction_H_
# define __BackupAction_H_

# include "UndoRedo.h"

class CBackupAction : public CEditAction {
  public:
	CBackupAction (CEditAction * _pAction) : m_pAction (_pAction) {}
	~CBackupAction ();

	virtual void GetName (string_t & _str) const;
	virtual cu_t CanUndo () const {return cuYes;}
	virtual bool Do ();
	virtual void Undo ();
	virtual void Redo ();

  private:
	CEditAction * m_pAction;
	map_t         m_map;
};


# endif // __BackupAction_H_